//
//  OperationtipsView.m
//  ProjectforHDX
//
//  Created by yinda on 2018/6/6.
//  Copyright © 2018年 H.DX. All rights reserved.
//

#import "OperationtipsView.h"

@implementation OperationtipsView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
//- (void)setKnowButton:(UIButton *)knowButton{
//    [knowButton setTitle:[UtilCheck language:@"show.gotIt"] forState:UIControlStateNormal];
//    [knowButton setTitle:[UtilCheck language:@"show.gotIt"] forState:UIControlStateHighlighted];
//    [knowButton setTitle:[UtilCheck language:@"show.gotIt"] forState:UIControlStateSelected];
//}

//- (void)setSuccesslabel:(UILabel *)successlabel{
//    if (self.isCun) {
//        successlabel.text = [UtilCheck language:@"show.qujianSuccess"];
//    }
//    successlabel.text = [UtilCheck language:@"show.cunjianSuccess"];
//
//}

- (void)setIsCun:(NSString *)isCun{
    _isCun = isCun;
    self.successlabel.text = [isCun isEqualToString:@"1"]?[UtilCheck language:@"show.qujianSuccess"]:[UtilCheck language:@"show.cunjianSuccess"];
}
@end
